package utfpr.gang5.hermes.controledepresenca.services.impl;

import java.util.List;

import utfpr.gang5.hermes.controledepresenca.dao.CrudException;
import utfpr.gang5.hermes.controledepresenca.dao.GenericCrud;
import utfpr.gang5.hermes.controledepresenca.pojo.Presenca;
import utfpr.gang5.hermes.controledepresenca.services.PresencaService;

public class HibernatePresencaServiceImpl extends GenericCrud<Presenca> implements
		PresencaService {

	public HibernatePresencaServiceImpl() {
	}

	@Override
	public Presenca carregar(Long id) throws CrudException {
		return carregar(Presenca.class, id);
	}

	@Override
	public List<Presenca> carregarTodos() throws CrudException {
		return carregarTodos(Presenca.class);
	}

}
